﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Poliduct.Master" Inherits="System.Web.Mvc.ViewPage<SIOCUR.Models.PROGRAMA_EN_TERMINAL>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Registro Programa en Terminal 777
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

     <h2>Programa en Terminal</h2>
     <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
                       
            <div class="editor-label">
                <%: Html.LabelFor(model => model.LOTE) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.LOTE) %>
                <%: Html.ValidationMessageFor(model => model.LOTE) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.AÑO) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.AÑO) %>
                <%: Html.ValidationMessageFor(model => model.AÑO) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.PROGRAMA) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.PROGRAMA) %>
                <%: Html.ValidationMessageFor(model => model.PROGRAMA) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.ACUMULADO) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.ACUMULADO) %>
                <%: Html.ValidationMessageFor(model => model.ACUMULADO) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.FLUJO) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.FLUJO) %>
                <%: Html.ValidationMessageFor(model => model.FLUJO) %>
            </div>
            
            <p>
                <input type="submit" value="Guardar" />
            </p>
        </fieldset>

    <% } %>

    

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MenuIzq" runat="server">
<%
   Html.Telerik().PanelBar()
        .Name("PanelBar")
        .Items(items =>
        {
            items.Add()
                 .Text("Registros").Content(() =>
                    {%>
                        <%: Html.ActionLink("Condiciones Operativas", "Registra", "OperatingConditions") %> <br />
                        <%: Html.ActionLink("Lote de Producto", "Registra", "LoteProducto") %> <br />
                        <%: Html.ActionLink("Integrado de Lote", "Registra", "IntegratedBatch") %> <br />
                        <%: Html.ActionLink("Programa en Terminal", "Registra", "ProgramaTerminal") %>
                        
                    <%});

             items.Add()
                 .Text("Reportes").Content(() =>
                    {%>
                        <%: Html.ActionLink("Condiciones Operativas", "Todos", "OperatingConditions") %> <br />
                        <%: Html.ActionLink("Integrado de Lote", "Todos", "IntegratedBatch") %> <br />
                       
                        
                    <%});
            items.Add()
                .Text("Opciones").Content(() =>
                    {%>
                        <%: Html.ActionLink("Cerrar Sesión", "Valida", "User") %>                                       
                    <%});            
    })
    .Render(); 
 %>

</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="Tab2" runat="server">
<p>
</p>
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="Foot" runat="server">
    <!--<a>Condiciones de Uso</a> | <a>Derechos Reservados</a> | <a>www.pemex.com</a>-->
</asp:Content>

<asp:Content ID="Content6" ContentPlaceHolderID="nombresesion" runat="server">
 Usuario: <%: this.Session["sesionname"]%> <br />
 Sistema: <%: this.Session["sesionsistema"]%><br />
 Estacion:  <%: this.Session["sesionestacion"]%>
</asp:Content>